package com.yswy.backstage.service;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yswy.domain.entity.tf.TgChannel;
import com.yswy.domain.vo.gld.addOrUpate.TgChannelAddOrUpdate;
import com.yswy.domain.vo.gld.list.TgChannelList;
import com.yswy.domain.vo.gld.search.TgChannelSearch;

public interface TgChannelService extends IService<TgChannel> {
    //检测链接列表
    Page<TgChannelList> pageTgChannel(TgChannelSearch tgChannelSearch);
    //添加检测链接
    void addTgChannel(TgChannelAddOrUpdate tgChannelAddOrUpdate);
    //修改检测链接
    void updateTgChannel(TgChannelAddOrUpdate tgChannelAddOrUpdate);
    //判断检测链接渠道是否存在
    Boolean isExistTgChannel(String channel );
    //删除检测链接
    void delTgChannel(Long tgChannelId);
}
